<template>
  <div id="app">
   <!-- <m-header></m-header>
   <tab></tab> -->
   <!-- 优化一 -->
   <!-- keep-alive 是vue的内置组件，能在组件切换过程中将状态保留在内存中，防止重复渲染DOM -->
   <keep-alive>
     <router-view></router-view>
   </keep-alive>
  </div>

</template>

<script>
// import MHeader from 'components/m-header/m-header'
// import tab from 'components/tab/tab'
export default {
  components: {
  }
}
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
</style>
